SAMBA sharing not working with user authentification

675 views
Skip to first unread message

craig...@gmail.com

unread,
Oct 27, 2014, 7:16:42 PM10/27/14
to neths...@googlegroups.com
after few installing and reinstalling of "file-server" now there is this message when try install or remowe: 
Task completed with errors  S98nethserver-samba-group-sync #29 (code 256)



Samba server work with Guest account.


 ther is some from IRS

00:53] <Ivan___> 2014/10/28 00:39:34,  0] smbd/server.c:1026(main)   smbd version 3.6.9-169.el6_5 started.   Copyright Andrew Tridgell and the Samba Team 1992-2011 [2014/10/28 00:39:34.461091,  0] printing/print_cups.c:151(cups_connect)   Unable to connect to CUPS server localhost:631 - Connection refused [2014/10/28 00:39:34.461625,  0] printing/print_cups.c:528(cups_async_callback)   failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL [2014/10/28 00:41:24.776048,  0] printing/
[00:54] <Ivan___> without debug
[00:55] <stephdl> You ought to write a bug report to redmine and let developers inspect what is wrong
[00:55] <stephdl> That should be workable out of the bow
[00:55] <stephdl> box
[00:56] <Ivan___> [2014/10/28 00:55:18.560578,  2] smbd/service.c:616(create_connection_session_info)   guest user (from session setup) not permitted to access this share (share) [2014/10/28 00:55:18.560702,  1] smbd/service.c:805(make_connection_snum)   create_connection_session_info failed: NT_STATUS_ACCESS_DENIED [2014/10/28 00:55:32.366691,  1] smbd/process.c:457(receive_smb_talloc)   receive_smb_raw_talloc failed for client 192.168.0.5 read error = NT_STATUS_CONNECTION_RESET.
[00:58] <Ivan___> [2014/10/28 00:57:08.630879,  2] lib/interface.c:341(add_interface)   added interface eth0 ip=192.168.0.105 bcast=192.168.0.255 netmask=255.255.255.0 [2014/10/28 00:57:10.875809,  2] smbd/sesssetup.c:1279(setup_new_vc_session)   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2014/10/28 00:57:10.877284,  2] smbd/sesssetup.c:1279(setup_new_vc_session)   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
[00:58] <stephdl> something wrong, please do a bug report
[00:59] <Ivan___> [2014/10/28 00:57:10.884325,  2] passdb/pdb_ldap.c:553(init_sam_from_ldap)   init_sam_from_ldap: Entry found for user: admin [2014/10/28 00:57:10.886600,  2] passdb/pdb_ldap.c:1180(init_ldap_from_sam)   init_ldap_from_sam: Setting entry for user: admin [2014/10/28 00:57:10.886684,  2] auth/auth.c:319(check_ntlm_password)   check_ntlm_password:  Authentication for user [admin] -> [admin] FAILED with error NT_STATUS_WRONG_PASSWORD
[01:00] <stephdl> slapcat
[01:14] <Ivan___> The first database does not allow slapcat; using the first available one (2) bdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap: (2). Expect poor performance for suffix "dc=directory,dc=nh". dn: dc=directory,dc=nh
[01:15] <stephdl> no more ????
[01:15] <stephdl>  at least you must have admin
[01:15] <stephdl> and all users created in the server-manager
[01:15] <Ivan___> yes mnany
[01:16] <Ivan___> but there is names and so on
[01:16] <stephdl> ok so ldap sould work
[01:16] <stephdl> should
[01:18] <Ivan___> so
[01:18] <Ivan___> what i should do?
[01:19] <Ivan___> i think there is problem with this script
[01:19] <stephdl> Write a bug report and ask support of dev, something f=goes wrong
[01:19] <stephdl> something goes wrong
[01:56] <Ivan___> now i been installing new centos
[01:59] <stephdl> ok
[01:59] <stephdl> time to go to bed for me
[02:02] == stephdl [~ste...@209.71.7.84.rev.sfr.net] has quit [Remote host closed the connection]

Davide Principi

unread,
Oct 28, 2014, 4:17:12 AM10/28/14
to neths...@googlegroups.com
Hi Craig,

On Mon, 2014-10-27 at 16:16 -0700, craig...@gmail.com wrote:
> after few installing and reinstalling of "file-server" now there is
> this message when try install or remowe:
> Task completed with errors S98nethserver-samba-group-sync #29 (code
> 256)

Could you attach the /var/log/messages part where
S98nethserver-samba-group-sync fails? You can search for FAIL and ERROR
substrings.


> [00:59] <Ivan___> [2014/10/28 00:57:10.884325, 2]
> passdb/pdb_ldap.c:553(init_sam_from_ldap) init_sam_from_ldap: Entry
> found for user: admin [2014/10/28 00:57:10.886600, 2]
> passdb/pdb_ldap.c:1180(init_ldap_from_sam) init_ldap_from_sam:
> Setting entry for user: admin [2014/10/28 00:57:10.886684, 2]
> auth/auth.c:319(check_ntlm_password) check_ntlm_password:
> Authentication for user [admin] -> [admin] FAILED with error
> NT_STATUS_WRONG_PASSWORD

Was it the right admin password? Maybe samba and unix passwords are
different: changing it from the server-manager should make them the
same.

Ciao,
--
Davide Principi

#davidep | @davideprincipi | GPG 0x5651EA71


craig...@gmail.com

unread,
Oct 28, 2014, 5:32:13 AM10/28/14
to neths...@googlegroups.com
Oct 27 17:00:49 mail esmith::event[5895]: [ERROR] Failed to set group `workgroup` comment attribute in SAM database! Oct 27 17:00:49 mail esmith::event[5895]: Action: /etc/e-smith/events/group-create/S30nethserver-samba-group-sync FAILED: 1 [0.124439] Oct 27 17:00:49 mail esmith::event[5895]: Action: /etc/e-smith/events/group-create/S95nethserver-mail-group-acl-adjust SUCCESS [0.075295] Oct 27 17:00:49 mail esmith::event[5895]: Action: /etc/e-smith/events/group-create/S95nethserver-samba-smbd-adjust SUCCESS [0.083009] Oct 27 17:00:49 mail esmith::event[5895]: Event: group-create FAILED

craig...@gmail.com

unread,
Oct 28, 2014, 5:35:08 AM10/28/14
to neths...@googlegroups.com
Oct 27 17:33:41 mail esmith::event[7667]: Mapping group workgroup failed with NT_STATUS_GROUP_EXISTS Oct 27 17:33:41 mail esmith::event[7667]: [ERROR] Failed to add group `workgroup` in SAM database! Oct 27 17:33:41 mail esmith::event[7667]: Action: /etc/e-smith/events/group-modify/S30nethserver-samba-group-sync FAILED: 1 [0.242593]
[02:02] == stephdl [~stephdl@209.71.7.84.rev.sfr.net] has quit [Remote host closed the connection]

craig...@gmail.com

unread,
Oct 28, 2014, 5:37:10 AM10/28/14
to neths...@googlegroups.com

Oct 27 17:33:42 mail smbd[7698]: Unable to connect to CUPS server localhost:631 - Connection refused Oct 27 17:33:42 mail smbd[1636]: [2014/10/27 17:33:42.162477, 0] printing/print_cups.c:528(cups_async_callback) Oct 27 17:33:42 mail smbd[1636]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL Oct 27 17:36:25 mail auth: pam_ldap: error trying to bind as user "uid=admin,ou=People,dc=directory,dc=nh" (Invalid credentials) Oct 27 17:36:25 mail auth: pam_ldap: error trying to bind as user "uid=admin,ou=People,dc=directory,dc=nh" (Invalid credentials)

craig ivan

unread,
Oct 28, 2014, 5:40:27 AM10/28/14
to neths...@googlegroups.com
Oct 27 17:54:08 mail esmith::event[8219]: Updated comment of group MAIL\domadmins to Domain Admins Oct 27 17:54:08 mail esmith::event[8219]: Updated comment of group MAIL\jabberadmins to Jabber Administrators Oct 27 17:54:08 mail esmith::event[8219]: Mapping group workgroup failed with NT_STATUS_GROUP_EXISTS Oct 27 17:54:08 mail esmith::event[8219]: [ERROR] Failed to add group `workgroup` in SAM database! Oct 27 17:54:08 mail esmith::event[8219]: Action: /etc/e-smith/events/runlevel-adjust/S98nethserver-samba-group-sync FAILED: 1 [0.686301] Oct 27 17:54:09 mail esmith::event[8219]: Action: /etc/e-smith/events/runlevel-adjust/S99nethserver-samba-netcacheflush SUCCESS [0.181507] Oct 27 17:54:09 mail esmith::event[8219]: Event: runlevel-adjust FAILED

On Tue, Oct 28, 2014 at 12:37 PM, <craig...@gmail.com> wrote:

Oct 27 17:33:42 mail smbd[7698]: Unable to connect to CUPS server localhost:631 - Connection refused Oct 27 17:33:42 mail smbd[1636]: [2014/10/27 17:33:42.162477, 0] printing/print_cups.c:528(cups_async_callback) Oct 27 17:33:42 mail smbd[1636]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL Oct 27 17:36:25 mail auth: pam_ldap: error trying to bind as user "uid=admin,ou=People,dc=directory,dc=nh" (Invalid credentials) Oct 27 17:36:25 mail auth: pam_ldap: error trying to bind as user "uid=admin,ou=People,dc=directory,dc=nh" (Invalid credentials)

--
You received this message because you are subscribed to a topic in the Google Groups "NethServer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nethserver/eHBsaxwtDJo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nethserver+...@googlegroups.com.
To post to this group, send email to neths...@googlegroups.com.
Visit this group at http://groups.google.com/group/nethserver.
For more options, visit https://groups.google.com/d/optout.

craig...@gmail.com

unread,
Nov 7, 2014, 9:20:55 PM11/7/14
to neths...@googlegroups.com
the error was happen when groups are created before services are installed. 

Filippo Carletti

unread,
Nov 8, 2014, 5:54:54 AM11/8/14
to craig...@gmail.com, neths...@googlegroups.com
> the error was happen when groups are created before services are installed.

Do groups created after services installation work?


--
Ciao,
Filippo

craig...@gmail.com

unread,
Nov 8, 2014, 1:06:23 PM11/8/14
to neths...@googlegroups.com, craig...@gmail.com
Reinstalled server then created groups - same error, after deleted it, all works fine. Now live it how it is - group will be create later.

Alessio Fattorini

unread,
Nov 8, 2014, 1:10:41 PM11/8/14
to craig...@gmail.com, neths...@googlegroups.com

Hi Craig,
Welcome on NethServer and thanks for your tests! Can you fill a bug about this problem on dev.nethserver.org?
Regards
Alessio

craig...@gmail.com

unread,
Nov 8, 2014, 1:57:50 PM11/8/14
to neths...@googlegroups.com, craig...@gmail.com

Has tryed o sign up, but activation letter doesnt came.

Alessio Fattorini

unread,
Nov 9, 2014, 4:50:10 AM11/9/14
to craig...@gmail.com, neths...@googlegroups.com

Maybe Davide can check this tomorrow, sorry for the delay
Alessio

Sent from Blue Mail

Maybe Davide can check this tomorrow, sorry for the delay

Sent from Blue Mail

Giacomo Sanchietti

unread,
Nov 9, 2014, 5:58:38 AM11/9/14
to neths...@googlegroups.com
User activation is currently manual to avoid spammers.

You should be able to login now.

Thanks for your time!
--
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

Davide Principi

unread,
Nov 10, 2014, 3:14:15 AM11/10/14
to craig...@gmail.com, NethServer English
On Sat, 2014-11-08 at 10:57 -0800, craig...@gmail.com wrote:
>
> Has tryed o sign up, but activation letter doesnt came.

Your account has been created on 2014-10-27
http://dev.nethserver.org/users/259

From the mail log at dev.nethserver.org, an activation email was sent to
the given address: could you check your spam folder?

The sender should be no-r...@nethserver.org or at least the message
should contain "dev.nethserver.org".

Thanks for you help!

Davide Principi

unread,
Nov 10, 2014, 3:19:44 AM11/10/14
to Giacomo Sanchietti, neths...@googlegroups.com
On Sun, 2014-11-09 at 11:58 +0100, Giacomo Sanchietti wrote:
> User activation is currently manual to avoid spammers.

Actually, no manual action is required.

I've recently updated the registration procedure: the account is enabled
immediately, by clicking the link on the activation email.

Then, an hourly cronjob grants some permissions to the new user:

* NethForge (Triager, Developer, Packager, QA)
* NethServer (Triager, Developer, QA)

craig...@gmail.com

unread,
Nov 10, 2014, 4:24:06 PM11/10/14
to neths...@googlegroups.com
need to change password but restoring password isnt worked.

Nicola Rauso

unread,
Nov 12, 2014, 8:35:04 AM11/12/14
to neths...@googlegroups.com
Hi Ivan!
Could be the "workgroup" group affected by this issue??

Reply all
Reply to author
Forward
0 new messages