[Samba] force group performance penalty ?
Hi, Just a quick question. I remember reading somewhere that there is a performance penalty associated with using the force group parameter. Can anybody explain what this penalty is and how it works. regards, -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Winbind samba pdc
Hi, I notice you have no 'log level' entry under your global section. I think it would be a good idea to add this to increase the verbosity of the logging. See the smb.conf man pages for more details. Regards -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com Hi, I still have my problem that my samba PDC doesnt want to accept winbind queries. wbinfo -u or -g or -t does only generate errors. the logfiles show a blissfull silence. who has a working PDC with winbind in samba? I really need it urgently now! Here is my smb.conf file [global] workgroup = SMB3 netbios name = SMB-TEST add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/groupmod -A %u %g delete user from group script = /usr/sbin/groupmod -R %u %g add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u # Note: The following specifies the default logon script. # Per user logon scripts can be specified in the user account using pdbedit logon script = scripts\logon.bat # This sets the default profile path. Set per user paths with pdbedit logon path = \\%L\Profiles\%U logon drive = H: logon home = \\%L\%U domain logons = Yes os level = 35 preferred master = Yes domain master = Yes idmap uid = 15000-2 idmap gid = 15000-2 printing = cups [homes] comment = Home Directories valid users = %S read only = No browseable = No # Printing auto-share (makes printers available thru CUPS) [printers] comment = All Printers path = /var/spool/samba printer admin = root,ramses create mask = 0600 guest ok = Yes printable = Yes browseable = No [print$] comment = Printer Drivers Share path = /var/lib/samba/drivers write list = ramses, root printer admin = ramses, root # Needed to support domain logons [netlogon] comment = Network Logon Service path = /etc/samba/logon admin users = root, ramses guest ok = Yes browseable = No # For profiles to work, create a user directory under the path # shown. i.e., mkdir -p /var/lib/samba/profiles/maryo [Profiles] comment = Roaming Profile Share path = /var/lib/samba/profiles read only = No profile acls = Yes # Other resource (share/printer) definitions would follow below. [All] path = /i read only = yes guest ok = yes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] nsswitch.conf winbind
Hi, Can you post some output from your logs, log.winbind log.nmbd etc.. What version of Samba are you using ?. regards, Ian -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com Hi! When a configured samba server i enter the following command, i don't see any of my domain user. MORGOTH:~# getent passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh ... nobody:x:65534:65534:nobody:/home:/bin/sh guillaume:x:1000:1000:Guillaume C.,,,:/home/guillaume:/bin/bash identd:x:100:65534::/var/run/identd:/bin/false sshd:x:101:65534::/var/run/sshd:/bin/false It dont list the domain user. but, the command wbinfo -ug list all I want... Here is my nsswitch.conf file #/etc/nsswitch.conf# passwd: compat winbind group: compat winbind shadow: compat hosts: files wins dns networks: files protocols: db files services: db files ethers: db files rpc:db files netgroup: nis I don't think that the error come from this file but Thanks for your help. __ Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] winbindd
Hi, What do 'wbinfo -t' and 'wbinfo -u' return ?. -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com Looked at http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html #id2531140 fo adding a samba box to a domin as a member server. When I run getent passwd foo I get no info back... has anyone seen this issus before? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.9 on RHEL 3.0
Hi, The net utility is part of the samba-client package on RHEL3. regards, -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com All, Smbpasswd -j DOMAIN is no longer the way to join a Windows domain instead one needs to use net join. However, net utility, although it's a part of Samba release, is not present on the system. Samba was installed using rpm packages. Here is what's on the system: samba-3.0.9-1.3E.1 samba-common-3.0.9-1.3E.1 samba-swat-3.0.9-1.3E.1 Any thoughts? Thanks, Jarek -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind and Samba/LDAP PDC
Hi Samba Users, I am currently in the process of migrating from an NT4 Domain to a Samba/LDAP Domain. I am already running a number of samba servers which are domain member servers in the existing domain. They retrieve their account information from the NT4 PDC using winbind. So far i have completed the NT4 to Samba/LDAP migration as described in chapter 9 of Samba by Example up to the point where i have powered off the NT4 PDC and made the Samba/LDAP Domain Master. However at this point the Samba Domain Member servers begin to lose all the window's users. i.e getent passwd no longer returns the windows users. I then restart winbind in debug mode to discover what is happening: -START--- [EMAIL PROTECTED]:/etc/samba$ wbinfo -t checking the trust secret via RPC calls succeeded [EMAIL PROTECTED]:/var/log/samba$ sudo winbindd -i -d 3 winbindd version 3.0.10-Ubuntu started. Copyright The Samba Team 2000-2004 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /etc/samba/smb.conf Processing section [global] Processing section [homes] Processing section [printers] Processing section [print$] adding IPC service adding IPC service added interface ip=192.0.2.200 bcast=192.0.2.255 nmask=255.255.255.0 added interface ip=192.0.2.200 bcast=192.0.2.255 nmask=255.255.255.0 Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED add_trusted_domain: CEL is an NT4 domain Added domain CEL S-0-0 rpc_dc_name: Returning DC CELDC (192.0.2.14) for domain CEL IPC$ connections done anonymously Connecting to host=CELDC Connecting to 192.0.2.14 at port 445 rpc: trusted_domains rpc_dc_name: Returning DC CELDC (192.0.2.14) for domain CEL IPC$ connections done anonymously Connecting to host=CELDC Connecting to 192.0.2.14 at port 445 add_trusted_domain: BUILTIN is an NT4 domain Added domain BUILTIN S-1-5-32 add_trusted_domain: VIAO is an NT4 domain Added domain VIAO S-1-5-21-3663827152-527292038-502765230 rpc: trusted_domains [14640]: request interface version [14640]: request location of privileged pipe [14640]: setpwent [14640]: getpwent rpc_dc_name: Returning DC CELDC (192.0.2.14) for domain CEL IPC$ connections done anonymously Connecting to host=CELDC Connecting to 192.0.2.14 at port 445 prs_mem_get: reading data of size 5898370 would overrun buffer. [14640]: endpwent --END Everthing appears normal up until prs_mem_get. Does anybody know what this means ?. I am using samba 3.14a on RHEL4 (binaries from www.enterprisesamba.com) as my SAMBA PDC and samba 3.10 FC2 and Ubuntu on the domain member servers. The New Samba domain appears to work correctly (login script etc..)appart from the Samba Domain Member server (Where all my files are !!) In the the medium to long term i plan to access LDAP Directly and not use winbind at all. I still need winbind though until i have successfully completed the migration. Thanks in advance for any help, comments or feedback. -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Nagging error
Hi Dimitri, I also have lots of these same errors in my logs. I have no idea what they mean. Don't seem to be causing a problem though. regards, Ian Hello to all. I keep getting the same error in the logs of all my Samba boxes: Apr 8 09:00:19 hanover smbd[19917]: [2005/04/08 09:00:19, 0] lib/util_sock.c:read_socket_data(384) Apr 8 09:00:19 hanover smbd[19917]: read_socket_data: recv failure for 4. Error = Connection reset by peer If this has been posted before, my apologies. I've RTFM, and I've googled for a solution, and while I've seen a few suggestions (actually, very few, although many have requested a solution), none has worked for me. Can anyone help? Many thanks. Dimitri -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. P : ++353 93 23151 F : ++353 93 23110 E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Migrating from NT4 to Samba/LDAP - Demoting PDC to domain member
I'll second that - I've used UPromote a couple of times to 'demote' a 'retired' NT 4 PDC to a member server. Worked great - alas - not free. I have even demoted an nt4 pdc exchange 5.5 to a standalone server, and it came up without a problem afterwards. I used compaq servers with the Compaq SMART RAID Disk Controller. Even though I received warnings about possible issues (see http://utools.com/compaq.asp) it worked without a problem. MIND YOU: I did disable the write cache completely prior to the whole operation. mj -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba Thanks everybody for their input. I'm going to attempt the migration at the weekend so fingers crossed :). Ian -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba