hey , I installed smbldap tools for have sync linux and win passwd, and it worked. But today i did some modifies to the script smbldap-passwd and it doesn't work. I check that win when try to change the password don't use it now...i try to reinstall again but still no working...this is my smb.conf someone can help me..? thanks [global] workgroup = IRONMAN netbios name = SHOGUN server string = SAMBA-LDAP PDC server ; wins support = no ; wins server = w.x.y.z interfaces = eth1 ; pam password change = Yes dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 ; syslog only = yes syslog = 0 panic action = /usr/share/samba/panic-action %d name resolve order = lmhosts host wins bcast ####AUTENTIFICACION###### security = user encrypt passwords = true passdb backend = ldapsam:ldaps://shogun.ironman.es:636 ; ldap passwd sync = only ; guest account = guest invalid users = root unix password sync = no ; ldap password sync = yes passwd program = /usr/local/sbin/smbldap-passwd -o %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . ; obey pam restrictions = yes ; pam password change = no #####KERBEROS#### use kerberos keytab = yes realm = IRONMAN.ES ;security = ads #####LDAP##### ldap admin dn = cn=admin,dc=ironman,dc=es ldap ssl = on ldap delete dn = no ldap suffix = dc=ironman,dc=es ldap user suffix = ou=people ldap group suffix = ou=groups ldap machine suffix = ou=machines ########## Printing ########## # If you want to automatically load your printer list rather # than setting them up individually then you'll need this load printers = yes # lpr(ng) printing. You may wish to override the location of the # printcap file ; printing = bsd ; printcap name = /etc/printcap # CUPS printing. See also the cupsaddsmb(8) manpage in the# When using [print$], root is implicitly a 'printer admin', but you can # also give this right to other users to add drivers and set printer # properties printer admin = @domainprintoperators #######PDC###########3 os level = 80 preferred master = yes domain master = yes local master = yes domain logons = yes logon path = //SHOGUN/profiles/%u logon drive = V: logon home = //SHOGUN/%u logon script =%u.bat ; domain admin group = @domainadmins add user script = /usr/local/sbin/smbldap-useradd -w %u############ Misc ############ socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 idmap uid = 10000-20000 idmap gid = 10000-20000 template shell = /bin/bash add user script = /usr/local/sbin/smbldap-useradd -w %u ######## File sharing ######## # Name mangling options ; preserve case = yes ; short preserve case = yes # cupsys-client package. printing = cups printcap name = cups ;ads server = 192.168.2.3 _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hey , I installed smbldap tools for have sync linux and win passwd, and it worked. But today i did some modifies to the script smbldap-passwd and it doesn't work. I check that win when try to change the password don't use it now...i try to reinstall again but still no working...this is my smb.conf someone can help me..? thanks [global] workgroup = IRONMAN netbios name = SHOGUN server string = SAMBA-LDAP PDC server ; wins support = no ; wins server = w.x.y.z interfaces = eth1 ; pam password change = Yes dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 ; syslog only = yes syslog = 0 panic action = /usr/share/samba/panic-action %d name resolve order = lmhosts host wins bcast ####AUTENTIFICACION###### security = user encrypt passwords = true passdb backend = ldapsam:ldaps://shogun.ironman.es:636 ; ldap passwd sync = only ; guest account = guest invalid users = root unix password sync = no ; ldap password sync = yes passwd program = /usr/local/sbin/smbldap-passwd -o %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . ; obey pam restrictions = yes ; pam password change = no #####KERBEROS#### use kerberos keytab = yes realm = IRONMAN.ES ;security = ads ;ads server = 192.168.2.3 #####LDAP##### ldap admin dn = cn=admin,dc=ironman,dc=es ldap ssl = on ldap delete dn = no ldap suffix = dc=ironman,dc=es ldap user suffix = ou=people ldap group suffix = ou=groups ldap machine suffix = ou=machines ########## Printing ########## # If you want to automatically load your printer list rather # than setting them up individually then you'll need this load printers = yes # lpr(ng) printing. You may wish to override the location of the # printcap file ; printing = bsd ; printcap name = /etc/printcap # CUPS printing. See also the cupsaddsmb(8) manpage in the# When using [print$], root is implicitly a 'printer admin', but you can # also give this right to other users to add drivers and set printer # properties printer admin = @domainprintoperators #######PDC###########3 os level = 80 preferred master = yes domain master = yes local master = yes domain logons = yes logon path = //SHOGUN/profiles/%u logon drive = V: logon home = //SHOGUN/%u logon script =%u.bat ; domain admin group = @domainadmins add user script = /usr/local/sbin/smbldap-useradd -w %u############ Misc ############ socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 idmap uid = 10000-20000 idmap gid = 10000-20000 template shell = /bin/bash add user script = /usr/local/sbin/smbldap-useradd -w %u ######## File sharing ######## # Name mangling options ; preserve case = yes ; short preserve case = yes # cupsys-client package. printing = cups printcap name = cups -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF7+Eou1kTJztljjMRAoz/AJ49j5RkqzWNIr6ltQfeDOW9MMUwiQCbBdPg pO1sowR4osRFd17ZQoeu54Q=05IU -----END PGP SIGNATURE-----
I know the subject reads like a recipe for desaster :-) I run debian within a vmware virtual machine on an xp system, with samba, and all is fine. I am now trying to replicate this setup on a new machine I bought, that came with Vista. I have no idea whether Vista has anything to do with it, but I am having problems, i.e. sometimes don't see the virtual machine on vista, and sometimes I see it but cannot browse into it (or ping it by computername, IP always works). On the virtual debian machines (both the one on XP and the one on Vista) I used these simple steps to install samba: - get-apt samba 3.0.14a-Debian (as reported by smbstatus) - put info into the installed smb.conf (identical, except for 'encrypt passwords = true' vs. 'encrypt password = yes' no idea why that difference) - cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd - smbpasswd myuser (the username is the same on windows, as is the password) - /etc/init.d/samba restart At this point, I can go do these things with the virtual debian machine that's running on XP: - see the machine in the network neighborhood, click on it, and browse the directory on the debian machine - get into the machine using putty by using the name of the debian machine - ping the machine by name from XP On the virtual debian machine that's running on Vista, - sometimes I can do all I can do on XP - sometimes the machine is visible in network neighborhood, but when I click on it, it's "not accessible" - sometimes the machine isn't even visible in network neighborhood - HOWEVER, all along I can ping the machine by IP, and I can putty into the machine by IP I am sure this is something real simple, but not simple for me! Abu Mats