DrakSambaShare's user creation

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

DrakSambaShare's user creation

Postby tired » Mar 2nd, '14, 10:34

Hello

In the new 64 bit Mageia 4 I can't add Samba users with DrakSambaShare, as the user name list is disabled. Any ideas how to fix this or how to get around it? In the early beta version it worked fine.

--
Tim
tired
 
Posts: 15
Joined: Feb 27th, '14, 06:41

Re: DrakSambaShare's user creation

Postby doktor5000 » Mar 2nd, '14, 11:54

Works just fine here. What security model did you select when setting up the samba server?

Please show the output of
Code: Select all
rpm -qa | grep samba
grep -v -e ^# -e ^\; /etc/samba/smb.conf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: DrakSambaShare's user creation

Postby tired » Mar 2nd, '14, 13:09

What security model did you select when setting up the samba server?
Used the defaults.
Please show the output of

Code: Select all
$ rpm -qa | grep samba
samba-server-3.6.22-1.mga4
samba-client-3.6.22-1.mga4
samba-common-3.6.22-1.mga4
$ grep -v -e ^# -e '    #' -e ^\; /etc/samba/smb.conf
[global]
    workgroup = MGAGROUP
    server string = %h
    printcap name = cups
    load printers = yes
    printcap cache time = 60
    printing = cups
    log file = /var/log/samba/%m.log
    max log size = 50
    map to guest = bad user
    security = user
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd
    dns proxy = no
[homes]
    comment = Home Directories
    browseable = no
    writable = yes
[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    guest ok = yes
    writable = no
    printable = yes
    create mode = 0700
    print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
    use client driver = yes
[print$]
    path = /var/lib/samba/printers
    browseable = yes
    write list = @adm root
    guest ok = yes
    inherit permissions = yes
[pdf-gen]
    path = /var/tmp
    guest ok = No
    printable = Yes
    comment = PDF Generator (only valid users)
    printing = bsd
    print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
    lpq command = /bin/true
tired
 
Posts: 15
Joined: Feb 27th, '14, 06:41

Re: DrakSambaShare's user creation

Postby doktor5000 » Mar 2nd, '14, 15:58

Looks normal. And samba is running?

Please show the output as root of
Code: Select all
systemctl status smb
journalctl -ab -u smb --no-pager
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: DrakSambaShare's user creation

Postby tired » Mar 2nd, '14, 17:36

And samba is running?
Yes, it is.
Please show the output of

Code: Select all
 systemctl status smb
smb.service - LSB: Samba servers (nmbd and smbd)
   Loaded: loaded (/etc/rc.d/init.d/smb)
   Active: active (running) since su 2014-03-02 17:07:54 EET; 2min 14s ago
  Process: 2342 ExecStart=/etc/rc.d/init.d/smb start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/smb.service
           ââ2380 smbd -D
           ââ2451 nmbd -D
           ââ2457 smbd -D

maalis 02 17:07:54 palvelin smb[2342]: Käynnistetään NMB-palvelut: [    OK     ]
maalis 02 17:07:54 palvelin systemd[1]: Started LSB: Samba servers (nmbd and smbd).
maalis 02 17:07:54 palvelin smbd[2458]: [2014/03/02 17:07:54.481203,  0] printing/print_cups.c:151(cups_connect)
maalis 02 17:07:54 palvelin smbd[2457]: [2014/03/02 17:07:54.481339,  0] printing/print_cups.c:528(cups_async_callback)
maalis 02 17:07:54 palvelin smbd[2457]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
...
 journalctl -ab -u smb --no-pager
-- Logs begin at la 2014-03-01 13:38:44 EET, end at su 2014-03-02 17:11:19 EET. --
maalis 02 17:07:54 palvelin systemd[1]: Starting LSB: Samba servers (nmbd and smbd)...
maalis 02 17:07:54 palvelin smb[2342]: Käynnistetään SMB-palvelut: [    OK     ]
maalis 02 17:07:54 palvelin smb[2342]: Käynnistetään NMB-palvelut: [    OK     ]
maalis 02 17:07:54 palvelin systemd[1]: Started LSB: Samba servers (nmbd and smbd).
maalis 02 17:07:54 palvelin smbd[2458]: [2014/03/02 17:07:54.481203,  0] printing/print_cups.c:151(cups_connect)
maalis 02 17:07:54 palvelin smbd[2457]: [2014/03/02 17:07:54.481339,  0] printing/print_cups.c:528(cups_async_callback)
maalis 02 17:07:54 palvelin smbd[2457]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
...
(The dots mean the same error messages are repeating.)
Earlier I installed an early beta version of Mageia 4 and added a pile of Samba users to it. Now that the OS has been updated to this official version, the username list is disabled also in this OS.
tired
 
Posts: 15
Joined: Feb 27th, '14, 06:41

Re: DrakSambaShare's user creation

Postby jkerr82508 » Mar 2nd, '14, 23:13

jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: DrakSambaShare's user creation

Postby tired » Mar 2nd, '14, 23:28

Thank you!
tired
 
Posts: 15
Joined: Feb 27th, '14, 06:41


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest