I am a beginner on samba, can you explain me the means of CVS? and with this release can you manage Active Directory?
Thanks a lot -----Message d'origine----- De : Irving Carrion [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 2 octobre 2002 16:07 À : 'Kalkoul Morad'; [EMAIL PROTECTED] Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9 I have Samba version 2.999+3.0cvs20 and testparm does not complain about "add machine script " command. I'm really not sure why your testparm says it's not valid. Did you try it though? This is what I get from the docs: ///BEGIN DOC add machine script (G) This is the full pathname to a script that will be run by smbd(8) when a machine is added to it's domain using the administrator username and password method. This option is only required when using sam back-ends tied to the Unix uid method of RID calculation such as smbpasswd. This option is only available in Samba 3.0. Default: add machine script = <empty string> Example: add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u ///END DOC Hope this info helps! IRV -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kalkoul Morad Sent: Wednesday, October 02, 2002 9:53 AM To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED] Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9 add machine script is not validate by checking with testparm.Is it normal? -----Message d'origine----- De : Irving Carrion [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 2 octobre 2002 15:14 À : 'Kalkoul Morad'; [EMAIL PROTECTED] Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9 Not in my case. The "add user script" worked in the previous version but when I upgraded from Samba 2.2.3a to the latest CVS version it no longer worked. The way I got it working was to use the "add machine script". Now it works just fine. Anyway, try them both -n- see what ya get. IRV -----Original Message----- From: Kalkoul Morad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 3:04 AM To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED] Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9 I believed this was enough to add a machine: add user script = /usr/sbin/useradd -d /dev/null -g 502 -s /bin/false -M %u in my smb.conf -----Message d'origine----- De : Irving Carrion [mailto:[EMAIL PROTECTED]] Envoyé : mardi 1 octobre 2002 19:52 À : 'Kalkoul Morad'; [EMAIL PROTECTED] Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9 I think you need to add the "add machine script" command in your smb.conf. check man smb.conf for more info. Hope this helps. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kalkoul Morad Sent: Tuesday, October 01, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: [Samba] XP Pro and Samba 3.0-alpha1.9 Hi everybody, I set up Samba 3.0alpha1.9 on a RH7.2 and I want to configure it as a Primary Domain Controller. Below , my smb.conf: # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2002/10/01 09:04:58 # Global parameters [global] ;Nom du domaine workgroup = MOMODOM ;Nom netBios de la machine netbios name = SRV2000 ;Commentaires qui sera affiche dans le vouisinage réseau server string = Samba Server Beta Test 3.0 encrypt passwords = Yes password server = bin/passwd passwd program = /usr/bin/passwd %u unix password sync = No log file = /var/log/samba/SMB%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = root@SRV2000 ; add user script = /usr/sbin/useradd -d /dev/null -g 502 -s /bin/false -M %u logon script = logon.cmd logon path = \\%N\%u\profiles logon drive = H: logon home = \\SRV\%U domain logons = Yes domain admin group = @admin os level = 64 preferred master = True domain master = True dns proxy = No wins server = 172.25.4.12 default service = export\samba\test printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No writable = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [export\samba\test] comment = Partage de test path = /tmp guest ok = Yes browsable = Yes writeable = Yes [netlogon] comment = Network Logon Services path = /home/netlogon writeable = no browseable = no write list = root And I create a Machine Trust Account, like this; #useradd -g admin -d /dev/null -c "Samba Test Machine" -s /bin/false SRV2000$ #passwd -l SRV2000$ #smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and other without, What do I put????) For me, my Machine trust account is OK. To create a samba manager #smbpasswd -a root and I use it to join the domain. But when I try to join the Domain MOMODOM , it is refused because "user unknown or incorrect password" And in the samba log file : rpc_server/srv_netlog_nt.c:get_md4pw(154) get_md4pw: Workstation SRV2000$: no account in domain Someone has an Idea? Thanks in advance, Mo -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba