Popup authentification+CIFS

cancel
Showing results for 
Search instead for 
Did you mean: 
badjulien
Member II

Popup authentification+CIFS

Bonjour a tous.

Je travaille sur un serveur debian squeeze, ou j'ai installé la version 4.2.0 (r48436-b4715) d'alfresco community.

J'ai mis en place la synchro avec un serveur Active Directory (je récupere tout mes users et ils peuvent se logguer sans problèmes via leur login/password AD)

Par contre au niveau de CIFS, a partir d'un poste Windows 7 j'arrive à me connecter au serveur en ajoutant le partage réseau : (\\monserveur.mondomaine@8080\alfresco\webdav)mais par contre j'ai un popup qui me demande de m'identifier (login/password). Le popup est pré-rempli avec mes login\password et ça marche quand je valide mais j'aimerais tout simplement qu'il n'y ai aucun popup qui apparaissent et que CIFS récupere mes login\password de session windows tout seul comme un grand.

Esct-ce possible ? si oui comment faire ?

Merci d'avance.

Cordialement

10 Replies
rguinot
Customer

Re: Popup authentification+CIFS

En effet c'est possible. Voir http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Passthru ou http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Kerberos selon le choix d'authentification. Plus de docs dispo sur docs.alfresco.com.
badjulien
Member II

Re: Popup authentification+CIFS

Merci, je vais me pencher la dessus.
rguinot
Customer

Re: Popup authentification+CIFS

laissez savoir.
badjulien
Member II

Re: Popup authentification+CIFS

Apres 2 jours de recherches je ne suis toujours pas arrivé à faire ce que je voulais.
J'ai tenté de mettre en place l'authentification passthru, mais j'ai toujours le popup qui revient a la première connexion au partage réseau.

adrien
Member II

Re: Popup authentification+CIFS

Bonjour,

Pouvez vous nous donner votre fichier alfresco-global.properties ?

J'ai le même problème, nous pourrions essayer de le régler ensemble.
badjulien
Member II

Re: Popup authentification+CIFS

Ok, voici mon alfresco-global.properties :



###############################
## Common Alfresco Properties #
###############################

dir.root=/srv/alfresco/alf_data

alfresco.context=alfresco
alfresco.host=monip
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=monip
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=password
db.name=alfresco
db.url=jdbc:postgresql://localhost:5432/${db.name}

### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/srv/alfresco/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/srv/alfresco/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/srv/alfresco/common/bin/pdf2swf
swf.languagedir=/srv/alfresco/common/japanese

jodconverter.enabled=false
jodconverter.officeHome=/srv/alfresco/libreoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=47b52240d3f25db669a10c47d7cf5e92

### E-mail setting ###
notification.email.siteinvite=false
activities.feed.notifier.enabled=true
mail.host=mail@mail.com
mail.port=25
mail.from.default=alfresco@mail.com

### License location ###
dir.license.external=/srv/alfresco

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false


### CIFS Configuration ###

cifs.hostannounce=true
alfresco.authentication.authenticateCIFS=false
cifs.enabled=true
cifs.serverName=alfresco


### PASSTHRU Configuration ###

passthru.authentication.useLocalServer=false
passthru.authentication.domain=
passthru.authentication.servers=entreprise\\ip1,ip1
passthru.authentication.guestAccess=false
passthru.authentication.defaultAdministratorUserNames=Administrateur
#Timeout value when opening a session to an authentication server, in milliseconds
passthru.authentication.connectTimeout=5000
#Offline server check interval in seconds
passthru.authentication.offlineCheckInterval=300
passthru.authentication.protocolOrder=TCPIP,NetBIOS
passthru.authentication.authenticateCIFS=true
passthru.authentication.authenticateFTP=true
passthru.authentication.sso.enabled=false
passthru.authentication.allowGuestLogin=true

ntlm.authentication.sso.enabled=false
ntlm.authentication.authenticateCIFS=false

### Authentication chain ###
authentication.chain=passthru1:passthru,ldap-ad1:ldap-ad


adrien
Member II

Re: Popup authentification+CIFS

Vous n'avez pas d'authentication.chain ???

Vous accédez à votre serveur par une ip ou un nom d'hôte?

Rien dans les logs ?
badjulien
Member II

Re: Popup authentification+CIFS

désolé j'avais oublié de la copier, je l'ai mise a la fin.
On accède au serveur par son nom d'hote.

Je ne vois rien dans les logs
adrien
Member II

Re: Popup authentification+CIFS

Pourquoi y a t il ldap dans votre chaîne ? Vous n'utilisez que passthru il me semble.

Votre identification marche bien avec Share?