| Summary: |
Most basic functionality not working in samba |
| Product: |
[openSUSE] openSUSE 11.4
|
Reporter: |
Silviu Marin-Caea <silviu_marin-caea> |
| Component: |
Samba | Assignee: |
The 'Opening Windows to a Wider World' guys <samba-maintainers> |
| Status: |
RESOLVED
DUPLICATE
|
QA Contact: |
The 'Opening Windows to a Wider World' guys <samba-maintainers> |
| Severity: |
Major
|
|
|
| Priority: |
P5 - None
|
CC: |
ddiss
|
| Version: |
Final | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
x86-64 | |
|
| OS: |
openSUSE 11.4 | |
|
| Whiteboard: |
|
|
Found By:
|
---
|
Services Priority:
|
|
|
Business Priority:
|
|
Blocker:
|
---
|
|
Marketing QA Status:
|
---
|
IT Deployment:
|
---
|
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Maybe I should cool off before filing this bug. No, can't do it. So, here it is: It seems that the most basic 1-2-3 functionality does not work in samba. How did this shit job go into final version? The most basic functionality being: 1. Adding one user 2. Starting the frigging server Point number two does not work!! Reproducible: Always Steps to Reproduce: 0. Start with installing samba. Do not touch the smb.conf file 1. Add user silviu_marin-caea (the unix user exists) getent passwd | grep silviu silviu_marin-caea:x:1000:100:Silviu Marin-Caea:/home/silviu_marin-caea:/bin/bash smbpasswd -a silviu_marin-caea New SMB password: Retype new SMB password: tdbsam_open: Converting version 0.0 database to version 4.0. tdbsam_convert_backup: updated /etc/samba/passdb.tdb file. Added user silviu_marin-caea. 2. start the server: rcsmb start Starting Samba SMB daemon startproc: exit status of parent of /usr/sbin/smbd: 1 done 3. look in log.smbd smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2011/05/15 18:35:07.257930, 1] ../lib/util/params.c:513(OpenConfFile) params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/dhcp.conf": Permission denied [2011/05/15 18:35:07.259039, 0] smbd/server.c:1149(main) error opening config file 4. Check rights: ls -l /etc/samba/dhcp.conf -rw-r--r-- 1 root root 198 May 15 13:38 /etc/samba/dhcp.conf 5. Comment out the line in smb.conf # include = /etc/samba/dhcp.conf 6. Try to start server smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2011/05/15 18:39:26.937495, 0] passdb/secrets.c:73(secrets_init) Failed to open /etc/samba/secrets.tdb [2011/05/15 18:39:26.939128, 0] passdb/secrets.c:73(secrets_init) Failed to open /etc/samba/secrets.tdb [2011/05/15 18:39:26.939319, 0] smbd/server.c:1234(main) ERROR: smbd can not open secrets.tdb 7. ls -l /etc/samba/*.tdb -rw------- 1 root root 36864 May 15 18:35 /etc/samba/passdb.tdb -rw------- 1 root root 45056 May 15 18:35 /etc/samba/secrets.tdb 8. chmod a+rw /etc/samba/*.tdb 9. retry starting server 10. Same error in log.smbd 11. FFFFFFUUUUUUU File this bugreport Actual Results: Just crap, useless crap Expected Results: Being able to add an user and start the samba server in the default configuration. Working samba server. I'm gonna be sorry for filing an angry bugreport.