Re: [Samba] How to use --simple-bind-dn in samba-tool

2013-08-11 Thread Olivier Nicole
Thank's Andrew, > For the record, for other non-AD servers that don't do SASL and so can't > use -U, --simple-bind-dn takes a DN, so cn=admin,dc=example,dc=com might > be the admin DN on an OpenLDAP server. I tried: samba-tool user setpassword tata --newpassword=Ghij-1919 -d 10 -H ldap://fbsd

Re: [Samba] How to bind to the LADP server in Samba 4

2013-08-09 Thread Olivier Nicole
e the my, domain and local to match you actual domain and > use the password that you set for the AD administrator but that should work. > > > > On 09/08/13 05:48, Olivier Nicole wrote: >> >> Hi, >> >> I need to write a (Perl) script that will access the LDAP se

[Samba] How to bind to the LADP server in Samba 4

2013-08-08 Thread Olivier Nicole
Hi, I need to write a (Perl) script that will access the LDAP server that is bunddled in Samba 4. What DN should I use to authenticate? Best regards, Olivier -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] How to use --simple-bind-dn in samba-tool

2013-08-08 Thread Olivier Nicole
Thank's Andrew, > For the record, for other non-AD servers that don't do SASL and so can't > use -U, --simple-bind-dn takes a DN, so cn=admin,dc=example,dc=com might > be the admin DN on an OpenLDAP server. I tried: samba-tool user setpassword tata --newpassword=Ghij-1919 -d 10 -H ldap://fbsd

Re: [Samba] Samba4 using existing DNS and LDAP

2013-08-08 Thread Olivier Nicole
Thank you Mattieu. What kind of updates does Samba need to perform to DNS? The one at the provisioning and the machine name that join the domain (this is already taken care of by DHCP). Is there anything I oversee? >> >> What about this question? What reccords are added in t

[Samba] How to use --simple-bind-dn in samba-tool

2013-08-07 Thread Olivier Nicole
Hi, I understand that using options -H and --simple-bind-dn one could run samba-tool remotely. But how should I specify the DN to use for simple bind? I tried many syntaxes: cn=Administrator cn=Administrator@domain domain all with the Administrator password, but it always fail with: Faile

Re: [Samba] Samba4 using existing DNS and LDAP

2013-08-07 Thread Olivier Nicole
Thank you Matthieu, > > I have been using Samba3 (and 2) for years, with an openLDAP backend for > > authentication. This is working fine, my directory includes a number of > > local settings for my specific needs. > > > > Now I would like to move to Samba4. > > > > I understand that Samba4 comes

[Samba] Samba4 using existing DNS and LDAP

2013-08-06 Thread Olivier Nicole
Hi, I have been using Samba3 (and 2) for years, with an openLDAP backend for authentication. This is working fine, my directory includes a number of local settings for my specific needs. Now I would like to move to Samba4. I understand that Samba4 comes with its own DNS and LDAP servers. By p

Re: Re: [Samba] Simple group question...‏

2009-07-09 Thread Olivier Nicole
Hi, > After join computer to domain  then log on to Windows Xp with local > administrator account and go to control panel -> addusers (select > account from your domain) -> Grant access level to your domain account > as "Administrator". I missed the begining of the discussion, but I am using the

Re: [Samba] Re: can't access samba PDC after power cut

2009-07-07 Thread Olivier Nicole
> 'smbclient -L 127.0.0.1 -U > lscarneiro' returns me the following message: > > Connection to 127.0.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED) To me too, but I think that your smbclient command is not valid. It should rather be -I 127.0.0.1 I think. By the way, are you sure that your

Re: [Samba] Samba & LDAP, with XP and Linux clients

2009-06-19 Thread Olivier Nicole
To add a bit more, my users typically look like: dn: uid=a103,ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th objectClass: inetOrgPerson objectClass: posixAccount objectClass: top objectClass: sambaSamAccount cn: a103 sn: x uid: a103 uidNumber: 5072 gidNumber: 95 homeDirectory: /home/a103 loginShel

Re: [Samba] Samba & LDAP, with XP and Linux clients

2009-06-19 Thread Olivier Nicole
Hi, > Executing "getent group" on the Ubuntu client produces the expected results. > Executing "getent passwd" does not; it only shows me a subset of the user > accounts (notably, not my own account which was created prior to migration). I am running successfully with the user accounts having the

[Samba] Samba printer and Vista

2009-06-17 Thread Olivier Nicole
Hi, I have set-up a couple of printers and uploaded the driver on Samba server. Now Windows XP clients can add the printers and the driver is automatically installed. I have a problem with Vista clients, when trying to automatically install the driver it gets and error: "Windows cannot connect t

[Samba] How to get rid of previous device settings for printer driver

2009-06-10 Thread Olivier Nicole
Hi, I am in the process of changing the Samba printers from using client driver to using server driver. I think I finally got it working except that after I have uploaded the driver on Samba server and after I have configured the "device settings" for that driver (define duplex, additionnal tray,

Re: [Samba] * Reloading /etc/samba/smb.conf smbd only

2009-06-09 Thread Olivier Nicole
> but should the message "*Reloading /etc/samba/smb.conf smbd only" > appear right on the command every five minutes? that surely cannot be > normal behavior. Must be depending on how you started samba and what you configured as a log file. If you started samba on command line and have no log con

Re: [Samba] * Reloading /etc/samba/smb.conf smbd only

2009-06-09 Thread Olivier Nicole
> not sure if this is a samba problem because i have only just ran > across this on a fresh install of ubuntu 9.04 server... > whats happening is that the message "* Reloading /etc/samba/smb.conf > smbd only" is occurring every 3-5 minutes right no the command line. If I understood well, samba wi

Re: [Samba] Problem installing printer drivers in Samba

2009-06-09 Thread Olivier Nicole
A bit of follow-up. > I am using the how-to at > http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html > It goes fine up to "installing drivers into [print$] using APW". I can > see a list of drivers files growing into W32X86. > > But when I try to access the propertie

[Samba] Problem installing printer drivers in Samba

2009-06-08 Thread Olivier Nicole
Hi, After using the client driver for a long time, I want to give a try to the drivers installed on Samba server. I am using the how-to at http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html It goes fine up to "installing drivers into [print$] using APW". I can see a

Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-05 Thread Olivier Nicole
> Yes I know it now , it is logical captain but the preceding person which > installed the old samba version has written the samba version in the > server string statement !!! Ouch! > and it would be very confusing for users and > admins ... I don't think the users would notice, and maybe not

Re: [Samba] Changing samba PDC version but keeping the same IP address

2009-06-05 Thread Olivier Nicole
>> We are on the way to upgrade our PDC from 2.2.8 to 3.2.11 >> as we do not want to reconfigure the PDC IP address on several >> hundreds of windows XP clients we have chosen to keep the same >> IP address for the new PDC. Why not keeping the same name for your server? Then with same name and sam

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread Olivier Nicole
Hi, > I'm trying to use it to > login via ssh. This user cannot authenticate. > Here is the result from auth.log and some configurations files This is not a samba problem but a SSH/Ubuntu/Ldap problem :) You need both packages pam_ldap AND nss_ldap. You need to configure both (configuration is

[Samba] Cannot delete files in Samba

2009-06-03 Thread Olivier Nicole
Hi, I recently upgraded from Samba 3.0.31 to 3.3.2 on a FreeBSD 6.4 server, and since then, the Windows machines have no right to delete files unless the directory is "chmod o+w" I tried to play with "map read only" and 'store dos attribues" but not to avail. My FreeBSD server is quite standard,

[Samba] Some questions about Samba and LDAP

2009-04-10 Thread Olivier Nicole
Hello, I have been using Samba for years (login onto the PC, files and printers sharing) and since recently I have a LDAP server running and serving authentication to few Unix systems (mail, web, Zope, ssh, etc.) Now that I set-up a new server to use with Samba, I would like to integrate Samba in