Re: [Samba] upgrade from 3.5 - 3.6, now I have no backend defined for idmap
On Tue, Feb 05, 2013 at 01:56:26PM -0600, Dale Schroeder (d...@briannassaladdressing.com) wrote: On 02/05/2013 12:08 AM, Jobst Schmalenbach wrote: Hi Dale [snip snap snip] Sorry that I don't have any concrete reasons as to the why of any of these things. ;-) love that line. Jobst -- A loving atmosphere in your home is the foundation for your life. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] upgrade from 3.5 - 3.6, now I have no backend defined for idmap
Hi Dale that worked, thanks. Just to clarify the * means everything else, right? Cause now I am getting (only once) [2013/02/04 07:50:48.519114, 1] winbindd/idmap.c:288(idmap_init_named_domain) no backend defined for idmap config BUILTIN One strange side effect ... I have never had to reboot a machine because of a change to the samba daemon(s), a restart always worked. For a couple of days after the change I still was getting the message until I rebooted ... now I do not get the messages, weird. Jobst On Tue, Jan 29, 2013 at 01:17:52PM -0600, Dale Schroeder (d...@briannassaladdressing.com) wrote: Jobst, The following works for me in 3.6.x. Modify to match your criteria. idmap config * : backend= tdb idmap config * : range = low - high idmap config DOMAIN : default = Yes idmap config DOMAIN : backend = idmap backend idmap config DOMAIN : range = different low - different high Dale On 01/28/2013 10:51 PM, Jobst Schmalenbach wrote: Hi. I am getting loads of errors no backend defined for idmap config MYDOMAIN after I upgraded from 3.5 - 3.6 a couple of days ago. I read http://wiki.samba.org/index.php/Samba_3.6_Features_added/changed and did what man smb.conf suggested: idmap config MYDOMAIN : backend = tdb idmap config MYDOMAIN : range = 500-199 yet I still receive those errors. I used to have idmap uid = 500-1000 idmap gid = 500-1000 and I had no errors while running 3.5.10. I am not sure what I am doing wrong, help please. Jobst -- The journey of a thousand steps begins with few hundred forgotten necessities. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Problem with /usr/bin/profiles Could not get rootkey
Hi. Current host OS: CentOS5.9 Current client OS: Windows XP (all the latest stuff) Current Samba: 3.6.6-0.129.el5 Ever since 3.4 I am having problems with the /usr/bin/profiles binary, it does NOT allow me to change a SID within a registry file. However, using an older version of the binary (3.0.33-3.29.el5_5.1) it does. If I execute the following command (note the last 4 digits on the SID) /usr/bin/profiles -c S-1-5-21-HIDDEN-HIDDEN-581009308-5424 -n S-1-5-21-HIDDEN-HIDDEN-581009308-5452 NTUSER.DAT I get the following error messages: ndr_pull_security_descriptor failed: Buffer Size Error prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. ndr_pull_security_descriptor failed: Buffer Size Error prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. ndr_pull_security_descriptor failed: Buffer Size Error prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. ... ... ... ndr_pull_security_descriptor failed: Buffer Size Error prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. regfio_rootkey: corrupt registry file ? No root key record located Could not get rootkey Any ideas anyone? Has the format of the NTUSER.DAT changed, and if so which one do I need to use? Jobst -- It took the power of 3 Commodore 64's to go to the moon, but it takes a 2GHz Pentium 4 to run XP... Something is desperately wrong here! | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] upgrade from 3.5 - 3.6, now I have no backend defined for idmap
Hi. I am getting loads of errors no backend defined for idmap config MYDOMAIN after I upgraded from 3.5 - 3.6 a couple of days ago. I read http://wiki.samba.org/index.php/Samba_3.6_Features_added/changed and did what man smb.conf suggested: idmap config MYDOMAIN : backend = tdb idmap config MYDOMAIN : range = 500-199 yet I still receive those errors. I used to have idmap uid = 500-1000 idmap gid = 500-1000 and I had no errors while running 3.5.10. I am not sure what I am doing wrong, help please. Jobst -- 'I will go to Korea.' - Dwight D Eisenhower. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Cannot change SID on NTUSER.DAT file
Hi. I have just changed to the latest version of samba on a CentOS 5.4 machine as I now have Win7 computers in the domain. [root] #smbd -V Version 3.5.4-0.83.el5_7.2 On the old version (I think 3.0.29) I was able to change the SID on any NTUDER.DAT file happily. Now I cannot change SID on any NTUSER.DAT file. However, I can log into the domain using the username that is attached to the NTUSER.DAT file, no problem there, so there is not anything wrong with the registry file. I get this: [root] #/usr/bin/profiles -c S-1-5-21-DELETED-5424 -n S-1-5-21-DELETED-5560 NTUSER.DAT ndr_pull_error(11): Pull bytes 1 (../librpc/ndr/ndr_basic.c:74) ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. ndr_pull_error(11): Pull bytes 1 (../librpc/ndr/ndr_basic.c:74) ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE prs_grow: Buffer overflow - unable to expand buffer by 36 bytes. ndr_pull_error(11): ndr_pull_relative_ptr1 rel_offset(229376) ndr-data_size(4096) ndr_pull_security_descriptor failed: NDR_ERR_BUFSIZE Any ideas anyone? Jobst -- 'Two things are infinite: the universe and human stupidity, and I'm not sure about the first one. - Albert Einstein | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Cannot access a share outside a share after upgrade
Hi. I have a share that I can only access as root that has a few symlinks in it to make it easy for me to access files/dirs. I used to be able to access before upgrade to [root] #smbd -V Version 3.5.4-0.83.el5_7.2 Now it simply displays an error Access denied I have in the smb.conf file the following: [SHARE_NAME_MASKED] path = /THIS_IS_MY_PATH valid users = @domadmins admin users = root read only = No create mask = 0660 force create mode = 0770 directory mask = 0770 force directory mode = 06770 browseable = No follow symlinks = yes wide links = yes and in /etc/group domadmins:x:GROUPID_MASKED:root I have not changed any other setting after upgrade of samba, nor have I changed file/directory permissions. Any ideas anyone? Jobst -- Pledge of allegiance: I Pledge Allegiance To the Flag That Appears on my Desktop Startup Screen. And to the Monopoly For Which it Stands; One Operating System Over All, Inescapable, With Freedom and Privacy for none. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] HELP: Samba server crashing on me
This is ONLY a guess: * signal 11 means invalid memory reference, so I would check your RAM and even your harddisks, it could be a page fault. (find some other ram, put them in and run it for a while). * may, just maybe your problems from earlier Unable to connect to CUPS server have had too many pointer allocations/references that the next one in the chain crashed the server, fix this and check again. this is what I would do first. Jobst On Sun, Sep 06, 2009 at 10:44:01PM -0400, Timothy Normand Miller (theo...@gmail.com) wrote: For no reason that I can discover, my smb server has started crashing on me. I'm really hoping someone help me out with this. This is the relevant portion of the log: [2009/09/06 22:24:44, 0] smbd/server.c:main(1274) smbd version 3.3.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/09/06 22:24:44, 0] printing/print_cups.c:cups_connect(103) Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory [2009/09/06 22:24:44, 0] printing/print_cups.c:cups_connect(103) Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory [2009/09/06 22:26:09, 0] smbd/server.c:main(1274) smbd version 3.3.7 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/09/06 22:26:09, 0] printing/print_cups.c:cups_connect(103) Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory [2009/09/06 22:26:09, 0] printing/print_cups.c:cups_connect(103) Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such file or directory [2009/09/06 22:26:43, 0] lib/fault.c:fault_report(40) === [2009/09/06 22:26:43, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 16066 (3.3.7) Please read the Trouble-Shooting section of the Samba3-HOWTO [2009/09/06 22:26:43, 0] lib/fault.c:fault_report(43) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2009/09/06 22:26:43, 0] lib/fault.c:fault_report(44) === [2009/09/06 22:26:43, 0] lib/util.c:smb_panic(1673) PANIC (pid 16066): internal error [2009/09/06 22:26:43, 0] lib/util.c:log_stack_trace(1777) BACKTRACE: 8 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x1c) [0x7f4fdfff6b10] #1 /usr/sbin/smbd(smb_panic+0x5b) [0x7f4fdfff6c1d] #2 /usr/sbin/smbd [0x7f4fdffe3e71] #3 /lib/libpthread.so.0 [0x7f4fde09bef0] #4 /usr/sbin/smbd(dns_register_smbd_reply+0x1c) [0x7f4fdfe59e3b] #5 /usr/sbin/smbd(main+0x16e8) [0x7f4fe01f05cc] #6 /lib/libc.so.6(__libc_start_main+0xe6) [0x7f4fdca49a26] #7 /usr/sbin/smbd [0x7f4fdfde1339] [2009/09/06 22:26:43, 0] lib/fault.c:dump_core(231) dumping core in /var/log/samba/cores/smbd I don't get much out of gdb: #0 0x7f4fdca5d645 in raise (sig=value optimized out) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) where #0 0x7f4fdca5d645 in raise (sig=value optimized out) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x7f4fdca5eb63 in abort () at abort.c:88 #2 0x7f4fdffe38db in dump_core () at lib/fault.c:242 #3 0x7f4fdfff6d3b in smb_panic (why=value optimized out) at lib/util.c:1689 #4 0x7f4fdffe3e71 in sig_fault (sig=11) at lib/fault.c:46 #5 signal handler called #6 dns_register_smbd_reply (dns_state=0x0, lfds=0x74963ed0, timeout=0x74964060) at smbd/dnsregister.c:171 #7 0x7f4fe01f05cc in main (argc=value optimized out, argv=value optimized out) at smbd/server.c:689 Other things: - I did try stopping and restarting the service - I ran testparm, and it says my config is fine -- Timothy Normand Miller http://www.cse.ohio-state.edu/~millerti Open Graphics Project -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- Do Lipton Tea employees take coffee breaks? | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Question regarding access to shares from LOCAL administrator account
Hi. How do I give access to shares from the LOCAL administrator account to a share(s) on the samba server? (workstation is domain member, without the need to specify a password). -- smb.conf domain logons = Yes os level = 200 domain master = Yes security = user -- I have read chapters 12,13,15 but there seems to be no way I can put the local administrator into /etc/group nor mapping it via net groupmap. I can do it the other way around i.e. mapping a local group to a group on the server, but for one share only I need to have access for the local administrator to the share on the server. Jobst -- This message represents the official view of the voices in my head! | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba