Needed information:
System:
Samba:
FreeBSD users
Configuration:
Samba user:
Testing for installation:
Trying to map network drive with windows /var/log/samba/smbd.log errors
Trying to map network drive with windows /var/log/samba/zeus.log errors
Here is the problem;
I am not able to map a drive from the Windows XP environment; When I try to map a drive I get the window asking for a user and password. Everything that I have tried has not worked. The entry window keeps asking for the same information. If I go to my network places and select GROUP1 I can see the server in the list. However if I click on it it returns the message of not accessible, the account is not authorized to log in from this station. I have tried using null passwords and setting a password on both the FreeBSD user and the Samba user.
I have deleted the Samba install and went through the configure, make, and the make install again as described in the Samba documentation. Same results. I have spent quite a few hours searching for answers.
I just want a simple access without any user or password information passed. When I use the security mode of "share" I get a ton of problem 2 below, but it maps a drive that I can see in "My Computer" but I still can't access it. I am using "user" because "share" has been deprecated. I have read every page of the book, "Using Samba" published by O'Rellly without any luck.
Has anybody installed samba 3.6.0.0 on a FreeBSD machine with version 8.2?
This is what I am trying to get at;
Problem 1.
I have not found anything usefull that could help me.
Problem 2.
Found the following, build world, rebuild package/port causing the problem. Nothing relating to Samba. One solution was to load all of the compat?x packages which I did without any luck.
Is /libexec/ld-elf.so.1 part of Samba or FreeBSD. If FreeBSD what port/package does it belong to? Is it part of the base? How can you find what port/package a module belongs to?
Problem 3.
If you look at the share I have force the group to wheel. I don't believe it is looking at the shares as I can't access the server. I have no idea where this is coming from or why.
Anybody have any ideas?
Keith
System:
Code:
FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Samba:
Code:
Prometheus# smbstatus
lp_load_ex: refreshing parameters
Initialising global parameters
max_open_files: increasing sysctl_max (11095) to minimum Windows limit (16384)
rlimit_max: increasing rlimit_max (11095) to minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf"
Processing section "[global]"
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Processing section "[Movies]"
Samba version 3.6.0
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
FreeBSD users
Code:
#Changing user information for nobody.
Login: nobody
Password:
Uid [#]: 65534
Gid [# or name]: 65534
Change [month day year]:
Expire [month day year]:
Class:
Home directory: /nonexistent
Shell: /usr/sbin/nologin
Full Name: Unprivileged user
Office Location:
Office Phone:
Home Phone:
Other information:
/etc/pw.iGMv65: unmodified: line 1
Prometheus#
Configuration:
Code:
[global]
workgroup = GROUP1
server string = Samba Server
encrypt passwords = No
map to guest = Bad User
log level = 3
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
idmap config * : backend = tdb
hosts allow = 192.168., 7.0.0.
[public]
comment = %h Shared Public Directory
path = /storage2/public
force user = nobody
force group = wheel
read only = No
force create mode = 0777
force directory mode = 0777
guest ok = Yes
Samba user:
Code:
Prometheus# smbpasswd nobody
New SMB password:
Retype new SMB password:
Forcing Primary Group to 'Domain Users' for nobody
Prometheus#
Code:
Prometheus# pdbedit -Lv nobody
Forcing Primary Group to 'Domain Users' for nobody
Unix username: nobody
NT username:
Account Flags: [U ]
User SID: S-1-5-21-1832871735-2465623369-4153686981-501
Primary Group SID: S-1-5-21-1832871735-2465623369-4153686981-513
Full Name: Unprivileged user
Home Directory: \\prometheus\nobody
HomeDir Drive:
Logon Script:
Profile Path: \\prometheus\nobody\profile
Domain: PROMETHEUS
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Sun, 04 Dec 219250468 08:30:07 MST
Kickoff time: Sun, 04 Dec 219250468 08:30:07 MST
Password last set: Fri, 09 Sep 2011 11:50:52 MDT
Password can change: Fri, 09 Sep 2011 11:50:52 MDT
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Prometheus#
Testing for installation:
Code:
Prometheus# smbclient -U% -L Localhost
/libexec/ld-elf.so.1: /usr/local/samba/bin/smbclient: Undefined symbol
"tdb_transaction_start_nonblock"
Trying to map network drive with windows /var/log/samba/smbd.log errors
Code:
[2011/09/09 12:00:52.680895, 3] passdb/lookup_sid.c:1737(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for root
[2011/09/09 12:00:52.681903, 3] auth/token_util.c:438(finalize_local_nt_token)
Failed to fetch domain sid for GROUP1
[2011/09/09 12:00:52.682157, 3] auth/token_util.c:469(finalize_local_nt_token)
Failed to fetch domain sid for GROUP1
[2011/09/09 12:00:52.682969, 3] passdb/lookup_sid.c:1737(get_primary_group_sid)
Forcing Primary Group to 'Domain Users' for nobody
[2011/09/09 12:00:52.683195, 3] auth/token_util.c:438(finalize_local_nt_token)
Failed to fetch domain sid for GROUP1
[2011/09/09 12:00:52.683386, 3] auth/token_util.c:469(finalize_local_nt_token)
Failed to fetch domain sid for GROUP1
[2011/09/09 12:00:52.684058, 1] smbd/files.c:204(file_init)
file_init: Information only: requested 16384 open files, 11075 are available.
[2011/09/09 12:00:52.684235, 3] rpc_server/svcctl/srv_svcctl_reg.c:569(svcctl_init_winreg)
Initialise the svcctl registry keys if needed.
Trying to map network drive with windows /var/log/samba/zeus.log errors
Code:
[2011/09/09 12:00:04.397132, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [Windows for Workgroups 3.1a]
[2011/09/09 12:00:04.397231, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [LM1.2X002]
[2011/09/09 12:00:04.397334, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [LANMAN2.1]
[2011/09/09 12:00:04.397432, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [NT LM 0.12]
[2011/09/09 12:00:04.397655, 3] smbd/negprot.c:401(reply_nt1)
not using SPNEGO
[2011/09/09 12:00:04.397753, 3] smbd/negprot.c:704(reply_negprot)
Selected protocol NT LM 0.12
[2011/09/09 12:00:04.399668, 1] smbd/process.c:456(receive_smb_talloc)
read_smb_length_return_keepalive failed for client 192.168.20.200 read error =
NT_STATUS_END_OF_FILE.
[2011/09/09 12:00:04.399922, 3] smbd/server_exit.c:180(exit_server_common)
Server exit (failed to receive smb request)
/libexec/ld-elf.so.1: /usr/local/samba/sbin/smbd: Undefined symbol "tdb_transaction_start_nonblock"
[2011/09/09 12:00:52.692304, 3] smbd/process.c:1661(process_smb)
Transaction 0 of length 137 (0 toread)
[2011/09/09 12:00:52.692421, 3] smbd/process.c:1466(switch_message)
switch message SMBnegprot (pid 1562) conn 0x0
[2011/09/09 12:00:52.692598, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2011/09/09 12:00:52.692702, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [LANMAN1.0]
[2011/09/09 12:00:52.692804, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [Windows for Workgroups 3.1a]
[2011/09/09 12:00:52.692903, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [LM1.2X002]
[2011/09/09 12:00:52.693025, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [LANMAN2.1]
[2011/09/09 12:00:52.693124, 3] smbd/negprot.c:598(reply_negprot)
Requested protocol [NT LM 0.12]
[2011/09/09 12:00:52.693342, 3] smbd/negprot.c:401(reply_nt1)
not using SPNEGO
[2011/09/09 12:00:52.693439, 3] smbd/negprot.c:704(reply_negprot)
Selected protocol NT LM 0.12
[2011/09/09 12:00:52.696144, 1] smbd/process.c:456(receive_smb_talloc)
read_smb_length_return_keepalive failed for client 192.168.20.200 read error =
NT_STATUS_END_OF_FILE.
[2011/09/09 12:00:52.696394, 3] smbd/server_exit.c:180(exit_server_common)
Server exit (failed to receive smb request)
/libexec/ld-elf.so.1: /usr/local/samba/sbin/smbd: Undefined symbol "tdb_transaction_start_nonblock"
Here is the problem;
I am not able to map a drive from the Windows XP environment; When I try to map a drive I get the window asking for a user and password. Everything that I have tried has not worked. The entry window keeps asking for the same information. If I go to my network places and select GROUP1 I can see the server in the list. However if I click on it it returns the message of not accessible, the account is not authorized to log in from this station. I have tried using null passwords and setting a password on both the FreeBSD user and the Samba user.
I have deleted the Samba install and went through the configure, make, and the make install again as described in the Samba documentation. Same results. I have spent quite a few hours searching for answers.
I just want a simple access without any user or password information passed. When I use the security mode of "share" I get a ton of problem 2 below, but it maps a drive that I can see in "My Computer" but I still can't access it. I am using "user" because "share" has been deprecated. I have read every page of the book, "Using Samba" published by O'Rellly without any luck.
Has anybody installed samba 3.6.0.0 on a FreeBSD machine with version 8.2?
This is what I am trying to get at;
Code:
Prometheus# pwd
/storage2
Prometheus#
Prometheus# ls -l
total 4
drwxrwxr-x 2 root operator 512 May 4 08:47 .snap
drwxrwxrwx 22 root wheel 1536 May 16 07:50 public
Prometheus#
Problem 1.
Code:
read_smb_length_return_keepalive failed for client 192.168.20.200 read error = NT_STATUS_END_OF_FILE.
I have not found anything usefull that could help me.
Problem 2.
Code:
/libexec/ld-elf.so.1: /usr/local/samba/sbin/smbd: Undefined symbol "tdb_transaction_start_nonblock"
Found the following, build world, rebuild package/port causing the problem. Nothing relating to Samba. One solution was to load all of the compat?x packages which I did without any luck.
Is /libexec/ld-elf.so.1 part of Samba or FreeBSD. If FreeBSD what port/package does it belong to? Is it part of the base? How can you find what port/package a module belongs to?
Problem 3.
Code:
Forcing Primary Group to 'Domain Users' for nobody
If you look at the share I have force the group to wheel. I don't believe it is looking at the shares as I can't access the server. I have no idea where this is coming from or why.
Anybody have any ideas?
Keith