Displaying 12 results from an estimated 12 matches for "initialize_password_db".
2003 Sep 28
1
Bug? Crashed at the very first connection attempt...
...======================================
PANIC: internal error
BACKTRACE: 11 stack frames:
#0 smbd(smb_panic+0xfc) [0x8175b78]
#1 smbd [0x816711b]
#2 /lib/libc.so.6 [0x400a2b48]
#3 smbd [0x8158fee]
#4 smbd [0x8159d58]
#5 smbd(make_pdb_context_list+0xb4) [0x815a2f8]
#6 smbd [0x815a5cb]
#7 smbd(initialize_password_db+0xe) [0x815a952]
#8 smbd(main+0x333) [0x81bd8f3]
#9 /lib/libc.so.6(__libc_start_main+0xa4) [0x4008ebb4]
#10 smbd(chroot+0x35) [0x80717c1]
--
|\ /| \~~~/ \~~~/ WWW: http://none :(
| \/ | /\ > < \~/ > < E-M: maxxx[at]rpg.pl
|____| /__\ /___\ /_\ /___\ ICQ: 31...
2008 Mar 26
1
new to samba, pointers/guidance needed
...p smbd[7295]: BACKTRACE: 7 stack frames:
Mar 26 08:00:02 backup smbd[7295]: #0 smbd(log_stack_trace+0x2d)
[0x8aba3d]
Mar 26 08:00:02 backup smbd[7295]: #1 smbd(smb_panic+0x5d) [0x8abb6d]
Mar 26 08:00:02 backup smbd[7295]: #2 smbd [0x85cae0]
Mar 26 08:00:02 backup smbd[7295]: #3
smbd(initialize_password_db+0xe) [0x85cb2e]
Mar 26 08:00:02 backup smbd[7295]: #4 smbd(main+0x655) [0x9882a5]
Mar 26 08:00:02 backup smbd[7295]: #5
/lib/libc.so.6(__libc_start_main+0xdc) [0x1c9dec]
Mar 26 08:00:02 backup smbd[7295]: #6 smbd [0x6b2181]
Mar 26 08:00:02 backup smbd[7295]: [2008/03/26 08:00:02, 0]
lib/...
2006 Sep 14
3
smbd wont start
...d only = No
I have checked the logs for any error and this is the smbd log which give
this:
[2006/09/13 20:12:20, 0] lib/util.c:log_stack_trace(1699)
? BACKTRACE: 7 stack frames:
? ?#0 smbd(log_stack_trace+0x23) [0x822b763]
? ?#1 smbd(smb_panic+0x46) [0x822b856]
? ?#2 smbd [0x81ea941]
? ?#3 smbd(initialize_password_db+0xe) [0x81ea98e]
? ?#4 smbd(main+0x591) [0x82c1cd1]
? ?#5 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7c44ea8]
? ?#6 smbd [0x8082a31]
[2006/09/13 20:12:20, 0] lib/util.c:smb_panic(1600)
? smb_panic(): calling panic action [/usr/share/samba/panic-action 6192]
[2006/09/13 20:12:20, 0] li...
2006 Apr 21
0
net getlocalsid Segmentation Fault
...BACKTRACE: 13 stack frames:
#0 net(smb_panic2+0x8a) [0xdb418a]
#1 net(smb_panic+0x19) [0xdb43e9]
#2 net(get_global_sam_sid+0x1a7) [0xcdfa57]
#3 net(pdb_init_ldapsam+0x186) [0xd832f6]
#4 net [0xd724c5]
#5 net(make_pdb_context_list+0x290) [0xd72b60]
#6 net [0xd72fc3]
#7 net(initialize_password_db+0xe) [0xd7314e]
#8 net [0xca4cc5]
#9 net(net_run_function+0x66) [0xca5c16]
#10 net(main+0x6cd) [0xca633d]
#11 /lib/libc.so.6(__libc_start_main+0xdc) [0x2a07e4]
#12 net [0xca4731]
Segmentation fault
2006 Jul 30
1
Cannot start Samba 3.0.23a
...ds_reload: failed to get pdb methods
for backend smbpas
swd guest
[2006/07/28 20:22:27, 0] lib/util.c:log_stack_trace(1699)
BACKTRACE: 7 stack frames:
#0 ./sbin/smbd(log_stack_trace+0x1a) [0x81cc5fa]
#1 ./sbin/smbd(smb_panic+0x61) [0x81cc4bc]
#2 ./sbin/smbd [0x81a7342]
#3 ./sbin/smbd(initialize_password_db+0xe) [0x81a8c20]
#4 ./sbin/smbd(main+0x4ae) [0x8235e6c]
#5 /lib/libc.so.6(__libc_start_main+0xc6) [0x40090936]
#6 ./sbin/smbd [0x807dda1]
[2006/07/28 20:22:27, 0] lib/fault.c:dump_core(173)
dumping core in /usr/local/samba/var/cores/smbd
Thank you in advnace for your help.
2006 Sep 18
1
smbd crash
...eload: failed to get pdb methods
for backend tdbsam,
[2006/09/17 12:53:55, 0] lib/util.c:log_stack_trace(1699)
BACKTRACE: 7 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822b763]
#1 /usr/sbin/smbd(smb_panic+0x46) [0x822b856]
#2 /usr/sbin/smbd [0x81ea941]
#3 /usr/sbin/smbd(initialize_password_db+0xe) [0x81ea98e]
#4 /usr/sbin/smbd(main+0x591) [0x82c1cd1]
#5 /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7bccea8]
#6 /usr/sbin/smbd [0x8082a31]
[2006/09/17 12:53:55, 0] lib/util.c:smb_panic(1600)
smb_panic(): calling panic action [/usr/share/samba/panic-action 6061]
[2006/09/17 12:53...
2006 Nov 11
0
can't start smbd
...such process
And /var/log/samba/log.smbd shows this:
[2006/11/10 18:53:17, 0] lib/util.c:log_stack_trace(1699)
BACKTRACE: 7 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822b883]
#1 /usr/sbin/smbd(smb_panic+0x46) [0x822b976]
#2 /usr/sbin/smbd [0x81eaa61]
#3 /usr/sbin/smbd(initialize_password_db+0xe) [0x81eaaae]
#4 /usr/sbin/smbd(main+0x591) [0x82c1eb1]
#5 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0xb7b8aea8]
#6 /usr/sbin/smbd [0x8082a31]
[2006/11/10 18:53:17, 0] lib/util.c:smb_panic(1600)
smb_panic(): calling panic action [/usr/share/samba/panic-action 7815]
Failed...
2003 Aug 22
0
3.0 with LDAP backend using SSL/TLS and OpenLDAP 2.1.22-1
...n/smbd(smbldap_search_suffix+0x57) [0x81d3ed7]
#12 /usr/sbin/smbd(smbldap_search_domain_info+0x8c) [0x81d4784]
#13 /usr/sbin/smbd [0x816726f]
#14 /usr/sbin/smbd [0x815fa4e]
#15 /usr/sbin/smbd(make_pdb_context_list+0xc8) [0x815ff2c]
#16 /usr/sbin/smbd [0x81601f3]
#17 /usr/sbin/smbd(initialize_password_db+0xe) [0x816057a]
#18 /usr/sbin/smbd(main+0x32f) [0x81d5c8b]
#19 /lib/libc.so.6(__libc_start_main+0xac) [0x401bed04]
#20 /usr/sbin/smbd(chroot+0x31) [0x80768e1]
Any help or suggestions greatly appreciated,
Rob.
2023 Oct 14
3
Compiling within Samba Source-Tree
...ell the build-system that smbscardd needs -lcrypto
Please let me know how.
There's another problem: My daemon does some sort of initilization
which I copied from smbpasswd.c
In short this initialization looks like:
configfile=get_dyn_CONFIGFILE();
lp_load_global(configfile);
secrets_init();
initialize_password_db(False, NULL);
get_global_sam_sid();
domain=lp_workgroup();
After this initialization the daemon accepts connections and
calls local_change_password()
Works very well but initialize_password_db() produces the
following warning:
no talloc stackframe at
../../source3/passdb/machine_account_secrets...
2004 Jan 30
0
[PATCH] Group mapping primary group SID update
...***************************************************/
+static BOOL update_users_primgroup_sid(const gid_t gid, fstring string_sid)
+{
+ SAM_ACCOUNT *sam_pwent=NULL;
+ struct passwd *pass=NULL;
+ fstring usrname = "";
+
+ /* Initialize static context */
+ if(!initialize_password_db(True)) {
+ DEBUG(0,("update_users_primgroup_sid: Cannot initialize password
database.\n"));
+ return False;
+ }
+ /* Open password database for update */
+ if(!pdb_setsampwent(True)) {
+ DEBUG(0,("update_users_primgroup_sid:...
2008 May 29
3
cannot add new machines to domain
Hi,
i have running samba with ldap as a PDC. The PDC works fine, except
adding new computer to the domain. The Computer how was added 2-3 Years
ago works fine, but i cannot add new PCs to the domain.
The samba log says to remove the paramtere 'algorithmic rid base' and
use 'net groupmap add' and 'net setmaxrid'. The command "net setmaxrid"
is not existent.
2003 Dec 01
0
No subject
...libsmb/cli_dfs.c
Compiling nsswitch/winbindd_glue.c
Linking bin/rpcclient
Compiling utils/smbcacls.c
Linking bin/smbcacls
Compiling pam_smbpass/pam_smb_auth.c with -fPIC
pam_smbpass/pam_smb_auth.c: In function `pam_sm_authenticate':
pam_smbpass/pam_smb_auth.c:97: too few arguments to function
`initialize_password_db'
pam_smbpass/pam_smb_auth.c:103: warning: assignment makes pointer from
integer without a cast
pam_smbpass/pam_smb_auth.c: In function `_smb_add_user':
pam_smbpass/pam_smb_auth.c:194: warning: passing arg 1 of
`local_password_change
' discards `const' from pointer target type
pam_...